package com.imust.springbootproject.dao;

import com.imust.springbootproject.po.Traveler;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface TravelerRepository extends JpaRepository<Traveler, Long> {
    public abstract  Traveler findByTravelernameAndTravelerpassword(String travelername, String travelerpassword);

    public abstract Traveler findByTravelername(String travelername);
}
